#ifndef __FLASH_H

#define __FLASH_H

#include "stm32f10x.h"

#define FLASH_PAGE_SIZE    ((uint16_t)0x800)	//2048

#define WRITE_START_ADDR  ((uint32_t)0x08008000)
#define WRITE_END_ADDR    ((uint32_t)0x0800c000)

typedef enum 
{
	FAILED = 0, 
  PASSED = !FAILED
} TestStatus;
int Write_Flash(uint16_t Data);


#endif /*__FLASH_H */
